#ifndef SCENCECONTROL_H
#define SCENCECONTROL_H

#include <QWidget>
#include <QDir>
#include <QFile>
#include <QStringListModel>
#include "app3DConf.h"
#include "src/pub/publics.h"

namespace Ui {
class ScenceControl;
}

class ScenceControl : public QWidget
{
    Q_OBJECT

public:
    explicit ScenceControl(QWidget *parent = nullptr);
    ~ScenceControl();
    void initSignals();

signals:
    void SelectModel();
    void CommitPaths(std::vector<Pos3dzx>);
    void CommitConfig(ControlIndex index,int value);
    void CommitCamMove(Pos3dzx);


private slots:
    void on_cb_Sele_activated(int index);

    void on_pb_upd_clicked();

    void on_pb_draw_clicked();

    void on_hz_zoom_actionTriggered(int action);

    void on_sp_xStep_valueChanged(int arg1);

    void on_sp_yStep_valueChanged(int arg1);

    void on_cb_grid_toggled(bool checked);

    void on_le_cam_editingFinished();

private:
    Ui::ScenceControl *ui;
    QStringListModel *model;
};

#endif // SCENCECONTROL_H
